.class Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$7;
.super Ljava/lang/Object;
.source "FragmentGpsSettings.java"

# interfaces
.implements Lcom/google/android/gms/maps/LocationSource$OnLocationChangedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;->onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;)V
    .locals 0

    .line 236
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$7;->this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onLocationChanged(Landroid/location/Location;)V
    .locals 2

    .line 239
    invoke-virtual {p1}, Landroid/location/Location;->getProvider()Ljava/lang/String;

    move-result-object v0

    const-string v1, "gps"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 240
    invoke-virtual {p1}, Landroid/location/Location;->getProvider()Ljava/lang/String;

    move-result-object v0

    const-string v1, "network"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 241
    invoke-virtual {p1}, Landroid/location/Location;->getProvider()Ljava/lang/String;

    move-result-object v0

    const-string v1, "fused"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    .line 245
    :cond_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$7;->this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;->access$500(Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;)Llt/noframe/gpsfarmguide/widgets/gps/GPSStatusView;

    move-result-object p1

    sget-object v0, Llt/farmis/libraries/externalgps/providers/Status;->DISCONNECTED:Llt/farmis/libraries/externalgps/providers/Status;

    invoke-virtual {p1, v0}, Llt/noframe/gpsfarmguide/widgets/gps/GPSStatusView;->onStatusChanged(Llt/farmis/libraries/externalgps/providers/Status;)V

    goto :goto_1

    .line 243
    :cond_1
    :goto_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings$7;->this$0:Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;->access$500(Llt/noframe/gpsfarmguide/views/FragmentGpsSettings;)Llt/noframe/gpsfarmguide/widgets/gps/GPSStatusView;

    move-result-object v0

    invoke-virtual {v0, p1}, Llt/noframe/gpsfarmguide/widgets/gps/GPSStatusView;->onLocationUpdate(Landroid/location/Location;)V

    :goto_1
    return-void
.end method
